|
PHY MOVE CHARACTER CONTROLLER
Moves the character controller at the specified speed.
PHY MOVE CHARACTER CONTROLLER ID, speed#
ID
Integer
identification number of the character controller, these ID numbers are unique to character controllers
speed#
Float
speed at which the character controller is to move, when no movement is required
When a character controller is being used it is important to update its movement each frame of the application and this is achieved by calling phy move character controller. Even if no movement is necessary at the time this command must still be called passing in 0.0. When movement is required simply pass in the speed at which you want the character controller to move and it will move in the direction it is facing.
No example code is provided for this command
|